package com.qf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/hello")
public class HelloController {
    @RequestMapping("/test01")
    public String test01(){
        System.out.println("test01");
        return "index";
    }

    @RequestMapping("/test02")
    public String test02(){
        System.out.println("test02");
        return "hello";
    }
}
